home *** CD-ROM | disk | FTP | other *** search
/ develop, the CD; issue 1 / Apple_Develop_1989.bin / Offscreen / FracApp 2.0B3 / FracApp / FracApp.rsrc / bin.rsrc_CODE_21_MAMiniInit.txt < prev    next >
Text File  |  1989-10-13  |  37KB  |  641 lines

  1. # near model CODE resource
  2. # jump table entries: 6048-6052 (5 of them)
  3. export_756:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  4EBA 0636                jsr        [PC + 0x636 /* 0000063C */]
  6. 00000008  7000                     moveq.l    D0, 0x00
  7. 0000000A  2B40 F9F4                move.l     [A5 - 0x60C], D0
  8. 0000000E  2F2D FCDC                move.l     -[A7], [A5 - 0x324]
  9. 00000012  4EAD 0122                jsr        [A5 + 0x122 /* export_32 */]
  10. 00000016  4E5E                     unlink     A6
  11. 00000018  4E75                     rts
  12. 0000001A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  13. export_757: // at 0000001C (misaligned)
  14. 0000001E  FFFC                     .invalid   <<F/7/7>>
  15. 00000020  2F0C                     move.l     -[A7], A4
  16. 00000022  486D FE9A                pea.l      [A5 - 0x166]
  17. 00000026  A86E                     syscall    InitGraf
  18. 00000028  A8FE                     syscall    InitFonts
  19. 0000002A  A912                     syscall    InitWindows
  20. 0000002C  2F3C 0000 FF70           move.l     -[A7], 0xFF70
  21. 00000032  201F                     move.l     D0, [A7]+
  22. 00000034  A032                     syscall    FlushEvents
  23. 00000036  A930                     syscall    InitMenus
  24. 00000038  A9CC                     syscall    TEInit
  25. 0000003A  42A7                     clr.l      -[A7]
  26. 0000003C  A97B                     syscall    InitDialogs
  27. 0000003E  42A7                     clr.l      -[A7]
  28. 00000040  3F3C 0004                move.w     -[A7], 0x4
  29. 00000044  A9B9                     syscall    GetCursor
  30. 00000046  285F                     movea.l    A4, [A7]+
  31. 00000048  A850                     syscall    InitCursor
  32. 0000004A  200C                     move.l     D0, A4
  33. 0000004C  6704                     beq        +0x6 /* 00000052 */
  34. 0000004E  2F14                     move.l     -[A7], [A4]
  35. 00000050  A851                     syscall    SetCursor
  36. label00000052:
  37. 00000052  486D FD04                pea.l      [A5 - 0x2FC]
  38. 00000056  4EBA 00BC                jsr        [PC + 0xBC /* 00000114 */]
  39. 0000005A  486D FCE8                pea.l      [A5 - 0x318]
  40. 0000005E  42A7                     clr.l      -[A7]
  41. 00000060  4267                     clr.w      -[A7]
  42. 00000062  4EAD 01BA                jsr        [A5 + 0x1BA /* export_51 */]
  43. 00000066  486D FCE0                pea.l      [A5 - 0x320]
  44. 0000006A  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  45. 00000070  3F3C FFFF                move.w     -[A7], 0xFFFF
  46. 00000074  4EAD 01BA                jsr        [A5 + 0x1BA /* export_51 */]
  47. 00000078  42A7                     clr.l      -[A7]
  48. 0000007A  70FF                     moveq.l    D0, 0xFFFFFFFF
  49. 0000007C  2F00                     move.l     -[A7], D0
  50. 0000007E  4EAD 04CA                jsr        [A5 + 0x4CA /* export_149 */]
  51. 00000082  2B5F FD24                move.l     [A5 - 0x2DC], [A7]+
  52. 00000086  42A7                     clr.l      -[A7]
  53. 00000088  A8D8                     syscall    NewRgn
  54. 0000008A  2B5F FCDC                move.l     [A5 - 0x324], [A7]+
  55. 0000008E  102D FD17                move.b     D0, [A5 - 0x2E9]
  56. 00000092  670C                     beq        +0xE /* 000000A0 */
  57. 00000094  4267                     clr.w      -[A7]
  58. 00000096  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  59. 0000009A  3B5F FCFC                move.w     [A5 - 0x304], [A7]+
  60. 0000009E  600A                     bra        +0xC /* 000000AA */
  61. label000000A0:
  62. 000000A0  4267                     clr.w      -[A7]
  63. 000000A2  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  64. 000000A6  3B5F FCFC                move.w     [A5 - 0x304], [A7]+
  65. label000000AA:
  66. 000000AA  41ED FCF6                lea.l      A0, [A5 - 0x30A]
  67. 000000AE  43FA 002E                lea.l      A1, [PC + 0x2E /* 000000DE, value 0x4545255, pstring "TRUE" */]
  68. 000000B2  20D9                     move.l     [A0]+, [A1]+
  69. 000000B4  3091                     move.w     [A0], [A1]
  70. 000000B6  41ED FCF0                lea.l      A0, [A5 - 0x310]
  71. 000000BA  43FA 001C                lea.l      A1, [PC + 0x1C /* 000000D8, value 0x546414C, pstring "FALSE" */]
  72. 000000BE  20D9                     move.l     [A0]+, [A1]+
  73. 000000C0  3091                     move.w     [A0], [A1]
  74. 000000C2  422D FD00                clr.b      [A5 - 0x300]
  75. 000000C6  1B6D FD00 FD20           move.b     [A5 - 0x2E0], [A5 - 0x300]
  76. 000000CC  1B7C 0001 FCD4           move.b     [A5 - 0x32C], 0x1
  77. 000000D2  285F                     movea.l    A4, [A7]+
  78. 000000D4  4E5E                     unlink     A6
  79. 000000D6  4E75                     rts
  80. 000000D8  0546                     bchg       D6, D2
  81. 000000DA  414C                     chk.w      D0, A4
  82. 000000DC  5345                     subq.w     D5, 1
  83. 000000DE  0454 5255                subi.w     [A4], 0x5255 /* 'RU' */
  84. 000000E2  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  85. export_758:
  86. 000000E4  4E56 FFE4                link       A6, -0x001C
  87. 000000E8  2F07                     move.l     -[A7], D7
  88. 000000EA  206E 0008                movea.l    A0, [A6 + 0x8]
  89. 000000EE  43EE FFE6                lea.l      A1, [A6 - 0x1A]
  90. 000000F2  7005                     moveq.l    D0, 0x05
  91. label000000F4:
  92. 000000F4  22D8                     move.l     [A1]+, [A0]+
  93. 000000F6  51C8 FFFC                dbf        D0, -0x6 /* 000000F4 */
  94. 000000FA  3290                     move.w     [A1], [A0]
  95. 000000FC  7E01                     moveq.l    D7, 0x01
  96. 000000FE  1007                     move.b     D0, D7
  97. 00000100  6704                     beq        +0x6 /* 00000106 */
  98. 00000102  C02E FFF6                and.b      D0, [A6 - 0xA]
  99. label00000106:
  100. 00000106  1E00                     move.b     D7, D0
  101. 00000108  1D47 000C                move.b     [A6 + 0xC], D7
  102. 0000010C  2E1F                     move.l     D7, [A7]+
  103. 0000010E  4E5E                     unlink     A6
  104. 00000110  2E9F                     move.l     [A7], [A7]+
  105. 00000112  4E75                     rts
  106. fn00000114:
  107. 00000114  4E56 FFFA                link       A6, -0x0006
  108. 00000118  48E7 0118                movem.l    -[A7], D7,A3,A4
  109. 0000011C  266E 0008                movea.l    A3, [A6 + 0x8]
  110. 00000120  2F3C 0001 0000           move.l     -[A7], 0x10000
  111. 00000126  2F0B                     move.l     -[A7], A3
  112. 00000128  4EAD 04A2                jsr        [A5 + 0x4A2 /* export_144 */]
  113. 0000012C  3E1F                     move.w     D7, [A7]+
  114. 0000012E  286E 0008                movea.l    A4, [A6 + 0x8]
  115. 00000132  7000                     moveq.l    D0, 0x00
  116. 00000134  2F00                     move.l     -[A7], D0
  117. 00000136  4267                     clr.w      -[A7]
  118. 00000138  3EB8 0B22                move.w     [A7], [0x00000B22 /* HWCfgFlags */]
  119. 0000013C  321F                     move.w     D1, [A7]+
  120. 0000013E  201F                     move.l     D0, [A7]+
  121. 00000140  3001                     move.w     D0, D1
  122. 00000142  C0BC 0000 0400           and.l      D0, 0x400
  123. 00000148  4A80                     tst.l      D0
  124. 0000014A  5EC0                     sgt        D0
  125. 0000014C  4400                     neg.b      D0
  126. 0000014E  1940 0018                move.b     [A4 + 0x18], D0
  127. 00000152  7000                     moveq.l    D0, 0x00
  128. 00000154  2F00                     move.l     -[A7], D0
  129. 00000156  4267                     clr.w      -[A7]
  130. 00000158  3EB8 0B22                move.w     [A7], [0x00000B22 /* HWCfgFlags */]
  131. 0000015C  321F                     move.w     D1, [A7]+
  132. 0000015E  201F                     move.l     D0, [A7]+
  133. 00000160  3001                     move.w     D0, D1
  134. 00000162  C0BC FFFF 8000           and.l      D0, 0xFFFF8000
  135. 00000168  4A80                     tst.l      D0
  136. 0000016A  5EC0                     sgt        D0
  137. 0000016C  4400                     neg.b      D0
  138. 0000016E  1940 0017                move.b     [A4 + 0x17], D0
  139. 00000172  70FF                     moveq.l    D0, 0xFFFFFFFF
  140. 00000174  B06C 0002                cmp.w      D0, [A4 + 0x2]
  141. 00000178  5DC0                     slt        D0
  142. 0000017A  4400                     neg.b      D0
  143. 0000017C  1940 0010                move.b     [A4 + 0x10], D0
  144. 00000180  6708                     beq        +0xA /* 0000018A */
  145. 00000182  197C 0001 0011